Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / users / {username} / role-mappings / clients-by-id / {id} / available

Get available client-level roles that can be mapped to the user

Path parameters:
realm - realm name (not id!)
username -
id -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{username}/role-mappings/clients-by-id/{id}/availableGet available client-level roles that can be mapped to the user

Method Detail

GET /admin/realms/{realm}/users/{username}/role-mappings/clients-by-id/{id}/available

Get available client-level roles that can be mapped to the user

HTTP Example:
GET /admin/realms/{realm}/users/{username}/role-mappings/clients-by-id/{id}/available
API Example:

UserClientRoleMappingsResource.getAvailableClientRoleMappings({'realm': /* name realm name (not id!) */,
  'username': …,
  'id': …});

Output:
List<RoleRepresentation> -
Produces:
application/json

Keycloak REST Services 1.2.0.Final